package ae.pcfc.cldos.online.common.tscdb.domain;

import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;
import javax.persistence.Temporal;
import javax.persistence.TemporalType;

/**
 * TTscEmirate entity. @author Asna Khader
 */
@Entity
@Table(name = "T_TSC_EMIRATE")
public class TTscEmirate implements java.io.Serializable {

	// Fields

	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;

	private String emirateCode;
	private String emirateName;
	private String emirateNameArb;
	private String emirateCreatedUser;
	private String emirateModifiedUser;
	private Date emirateCreatedtime;
	private Date emirateModifiedtime;
	//private Set<TTscEmirateCity> TTscEmirateCitys = new HashSet<TTscEmirateCity>(0);

	// Constructors

	// Property accessors
	@Id
	@Column(name = "EMIRATE_CODE", unique = true, nullable = false, length = 10)
	public String getEmirateCode() {
		return this.emirateCode;
	}

	public void setEmirateCode(String emirateCode) {
		this.emirateCode = emirateCode;
	}

	@Column(name = "EMIRATE_NAME", unique = true, nullable = false, length = 30)
	public String getemirateName() {
		return this.emirateName;
	}

	public void setEmirateName(String emirateName) {
		this.emirateName = emirateName;
	}

	@Column(name = "EMIRATE_NAME_ARB", nullable = false, length = 30)
	public String getEmirateNameArb() {
		return this.emirateNameArb;
	}

	public void setEmirateNameArb(String emirateNameArb) {
		this.emirateNameArb = emirateNameArb;
	}

	@Column(name = "EMIRATE_CREATEDUSER", nullable = true, length = 1)
	public String getEmirateCreatedUser() {
		return this.emirateCreatedUser;
	}

	public void setEmirateCreatedUser(String emirateCreatedUser) {
		this.emirateCreatedUser = emirateCreatedUser;
	}

	@Column(name = "EMIRATE_MODIFIEDUSER", nullable = true, length = 30)
	public String getEmirateModifiedUser() {
		return this.emirateModifiedUser;
	}

	public void setEmirateModifiedUser(String emirateModifiedUser) {
		this.emirateModifiedUser = emirateModifiedUser;
	}

	@Temporal(TemporalType.DATE)
	@Column(name = "EMIRATE_CREATEDTIME", nullable = true, length = 7)
	public Date getEmirateCreatedtime() {
		return this.emirateCreatedtime;
	}

	public void setEmirateCreatedtime(Date emirateCreatedtime) {
		this.emirateCreatedtime = emirateCreatedtime;
	}


	@Temporal(TemporalType.DATE)
	@Column(name = "EMIRATE_MODIFIEDTIME", nullable = true, length = 7)
	public Date getEmirateModifiedtime() {
		return this.emirateModifiedtime;
	}

	public void setEmirateModifiedtime(Date emirateModifiedtime) {
		this.emirateModifiedtime = emirateModifiedtime;
	}


}